const { successData } = require('./serverData')
const login = require('./routers/login')
const personal = require('./routers/personal')
const users = require('./routers/users')
const menu = require('./routers/menu')
const role = require('./routers/role')
const shopping = require('./routers/shopping')
const order = require('./routers/order')
const admin = require('./routers/admin')
module.exports = {
    'GET /api': successData,
    'POST /api/login': login,
    'GET /api/personal': personal,
    'GET /api/users':users,
    'GET /api/menu':menu,
    'GET /api/role':role,
    'GET /api/shopping':shopping,
    'GET /api/order':order,
    'GET /api/admin':admin
}